//
//  EFAddCartView.h
//  EnjogFood
//
//  Created by guocheng on 2017/5/25.
//  Copyright © 2017年 wf. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EFGoodScaleViewItem.h"


typedef void(^OkBlock)(Boolean success);
typedef void(^DoneBlock)(NSInteger count,EFGoodScaleViewItem* scaleView);
@interface EFAddCartView : UIView

-(instancetype)initWithFrame:(CGRect)frame productId:(NSString*)productId img:(NSString *)img price:(NSString *)price salePrice:(NSString *)salePrice count:(NSInteger)count scaleView:(EFGoodScaleViewItem*)scaleView;

@property (copy,nonatomic) DoneBlock doneblock;
@property (copy,nonatomic) OkBlock okblock;



@end
